<!--项目管理入口-->
<template>
    <div class="wrapper">
        <div class="main">
            <div class="main-left">
                <v-menu :menus="menu" :currentMenu="activeMenu"></v-menu>
            </div>
            <div class="main-right">
                <router-view/>
            </div>
        </div>
    </div>
</template>

<script>
    import vMenu from '@/components/leftMenu/leftMenu.vue'

    export default {
        name: 'index',
        components: {
            vMenu
        },
        data () {
            return {
                menu: [
                    {
                        path: '/itemMgt/itemManage',
                        title: '立项管理',
                        icon: require('./img/menu-itemManage.png'),
                        activeIcon: require('./img/menu-itemManage-active.png')
                    },{
                        path: '/itemMgt/itemAudit',
                        title: '审核管理',
                        icon: require('./img/menu-audit.png'),
                        activeIcon: require('./img/menu-audit-active.png')
                    },{
                        path: '/itemMgt/taskManage',
                        title: '任务管理',
                        icon: require('./img/menu-taskManage.png'),
                        activeIcon: require('./img/menu-taskManage-active.png')
                    }, {
                        path: '/itemMgt/taskImplement',
                        title: '实施管理',
                        icon: require('./img/menu-taskImplement.png'),
                        activeIcon: require('./img/menu-taskImplement-active.png')
                    }, {
                        path: '/itemMgt/intelligentAnalysis',
                        title: '智能分析管理',
                        icon: require('./img/menu-intelligentAnalysis.png'),
                        activeIcon: require('./img/menu-intelligentAnalysis-active.png')
                    },
                    /*{
                        path: '/itemMgt/budgetManage',
                        title: '预算管理',
                        icon: require('./img/menu-budgetManage.png'),
                        activeIcon: require('./img/menu-budgetManage-active.png')
                    }, {
                        path: '/itemMgt/expertManage',
                        title: '专家管理',
                        icon: require('./img/menu-expertManage.png'),
                        activeIcon: require('./img/menu-expertManage-active.png')
                    }*/
                ],
                activeMenu: ''
            }
        },
        created () {
            this.activeMenu = this.$route.path
        }
    }
</script>

<style scoped lang="scss">
</style>
